<template>
	<view class="box-color box-padding u-flex" hover-stay-time="150" hover-class="u-cell-hover">
		<view>
			<image :src="invoice.isProfessional ? '/static/common/zhuanpiao.png':'/static/common/pupiao.png'" style="width: 75rpx;height: 75rpx;vertical-align: middle;" mode=""></image>
		</view>
		<view class="u-flex-col u-m-l-30">
			<view class="u-font-32 u-m-b-16">
				{{ invoice.buyerName }}
			</view>
			<view class="u-font-24 grey-color">
				税号 {{ invoice.buyerIdentityNo }}
			</view>
		</view>
		<view v-if="invoice.isElectronic" style="position: absolute;top:0;right: 35rpx;">
			<image src="/static/common/dian.png" style="width: 37rpx;height: 50rpx;" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			invoice: {
				type: Object,
				default: () => {}
			},
			isElectronic: {
				type: Boolean,
				default: false
			},
			isChange: {
				type: Boolean,
				default: false
			}
		}
	}
</script>

<style>
</style>
